package com.example.blog.dto.loveList;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class UpdateStatueLoveListDto {
    @NotBlank(message = "id不为空")
    private Long id;
    @NotBlank(message = "状态不为空")
    @Length(min = 0,max = 1,message = "值过大或过小")
    private Long statue;
}
